<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type"content="text/html; charset=UTF-8">
    <title>和Spring集成</title>
</head>
<body>

<h2>${word0}${word1}</h2>




欢迎 ${user.name}  <#if user.name == "小明"> , 厉害了</#if>!

<br/><br/>
<div>测试显示列表数据</div>
<br/><br/>
<div>
    <table border=1>
        <tr><td>序号</td><td>名字</td><td>年龄</td><td>sep</td></tr>
      <#list list1 as user>
        <tr>
          <td>${user_index+1}</td>
          <td>${user.name}</td>
          <td> ${user.age}  </td>
          <td> <#sep> 吖 </#sep></td>

      </#list>
    </tr>
    </table>
</div>

<br/><br/>

<div>include指令</div>

<#include "/copyright_footer.html">
<br/><br/>


<div>处理不存在的变量</div>
<h3>Welcome ${aa!"visitor"}!</h3>
<div>如果 aa 变量不存在 忽略if中的html代码</div>
<#if aa??><h1>Welcome ${aa}!</h1></#if>




</body>
</html>